process {

    withName: 'YAHS' {
        ext.args = params.yahs_args
    }

    withName: 'YAHS_INIT' {
        ext.args = params.yahs_args
    }
}
